home *** CD-ROM | disk | FTP | other *** search
- /* The inevitable hello world program...
- *
- * I found this one while reading news and modified it slightly
- * in order to avoid the CR/LF problem. Compile with -lm.
- */
-
- float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||(
- h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++_==L&&printf("%.1s",(--s%L?_<L?
- --_%6:6:7)+"World! \n")&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}
-